//
//  ConfigModel.m
//  CareRing
//
//  Created by  on 2022/6/1.
//

#import "ConfigModel.h"

 NSString * const NONE_VALUE = @"--";

@implementation ConfigModel


+(NSString *)appVersion {
    NSString *appversion = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"];
    return  appversion;
}
+(NSString *)appName {
    NSString *appname = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleDisplayName"];
    return  appname;
}
+(NSString *)appBundleid {
    
 NSString *appBundleid = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleIdentifier"];
    return  appBundleid;
}

+(NSString *)unit:(NSInteger)value 
             Plur:(NSString * )plur
            Sinle:(NSString *)single
{
    if (value > 1) {
        return plur;
    }
    return single;
}

@end
